package org.jugile.proto2.domain;

public class Person extends PersonBase {

	public Person createChildren(String name) {
		Person ch = d().createPerson().setName(name).setParent(this);
		return ch;
	}
	
	public boolean hasChildren() { 
		return getChildren().size() > 0;
	}

	
	public Domain d() { return Domain.getDomain(); }
}
